package springstudy.annotation;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * HelloWorld 模块
 * @Author acy
 * @Date 2019/04/24
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
//@Import(HelloWorldConfiguration.class)   //基于注解驱动的接口编程  EnableWebMvc标签就是如此
//@Import(HelloWorldImportSelector.class)  //基于实现ImportSelector接口的接口编程
@Import(HelloWorldImportRegisterSelector.class)  //基于实现ImportBeanDefinitionRegistrar接口的接口编程
public @interface EnableHelloWorld {

}
